package daos;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Movie entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Movie implements java.io.Serializable {

	// Fields

	private Integer movieId;
	private Movietype movietype;
	private String movieName;
	private String language;
	private Integer time;
	private Date showTime;
	private String zone;
	private String director;
	private String photographer;
	private String screenWriter;
	private String description;
	private String poster;
	private Set enactings = new HashSet(0);
	private Set sessions = new HashSet(0);
	private Set comments = new HashSet(0);

	// Constructors

	/** default constructor */
	public Movie() {
	}

	/** minimal constructor */
	public Movie(Movietype movietype, String movieName, String language,
			Integer time, Date showTime, String zone, String director,
			String description, String poster) {
		this.movietype = movietype;
		this.movieName = movieName;
		this.language = language;
		this.time = time;
		this.showTime = showTime;
		this.zone = zone;
		this.director = director;
		this.description = description;
		this.poster = poster;
	}

	/** full constructor */
	public Movie(Movietype movietype, String movieName, String language,
			Integer time, Date showTime, String zone, String director,
			String photographer, String screenWriter, String description,
			String poster, Set enactings, Set sessions, Set comments) {
		this.movietype = movietype;
		this.movieName = movieName;
		this.language = language;
		this.time = time;
		this.showTime = showTime;
		this.zone = zone;
		this.director = director;
		this.photographer = photographer;
		this.screenWriter = screenWriter;
		this.description = description;
		this.poster = poster;
		this.enactings = enactings;
		this.sessions = sessions;
		this.comments = comments;
	}

	// Property accessors

	public Integer getMovieId() {
		return this.movieId;
	}

	public void setMovieId(Integer movieId) {
		this.movieId = movieId;
	}

	public Movietype getMovietype() {
		return this.movietype;
	}

	public void setMovietype(Movietype movietype) {
		this.movietype = movietype;
	}

	public String getMovieName() {
		return this.movieName;
	}

	public void setMovieName(String movieName) {
		this.movieName = movieName;
	}

	public String getLanguage() {
		return this.language;
	}

	public void setLanguage(String language) {
		this.language = language;
	}

	public Integer getTime() {
		return this.time;
	}

	public void setTime(Integer time) {
		this.time = time;
	}

	public Date getShowTime() {
		return this.showTime;
	}

	public void setShowTime(Date showTime) {
		this.showTime = showTime;
	}

	public String getZone() {
		return this.zone;
	}

	public void setZone(String zone) {
		this.zone = zone;
	}

	public String getDirector() {
		return this.director;
	}

	public void setDirector(String director) {
		this.director = director;
	}

	public String getPhotographer() {
		return this.photographer;
	}

	public void setPhotographer(String photographer) {
		this.photographer = photographer;
	}

	public String getScreenWriter() {
		return this.screenWriter;
	}

	public void setScreenWriter(String screenWriter) {
		this.screenWriter = screenWriter;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getPoster() {
		return this.poster;
	}

	public void setPoster(String poster) {
		this.poster = poster;
	}

	public Set getEnactings() {
		return this.enactings;
	}

	public void setEnactings(Set enactings) {
		this.enactings = enactings;
	}

	public Set getSessions() {
		return this.sessions;
	}

	public void setSessions(Set sessions) {
		this.sessions = sessions;
	}

	public Set getComments() {
		return this.comments;
	}

	public void setComments(Set comments) {
		this.comments = comments;
	}

}